本文整理汇总了Java中com.ociweb.pronghorn.pipe.PipeWriter.writeLong方法的典型用法代码示例。如果您正苦于以下问题:Java PipeWriter.writeLong方法的具体用法?Java PipeWriter.writeLong怎么用?Java PipeWriter.writeLong使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.ociweb.pronghorn.pipe.PipeWriter
的用法示例。
在下文中一共展示了PipeWriter.writeLong方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: publishBlockChannel
import com.ociweb.pronghorn.pipe.PipeWriter; //导入方法依赖的package包/类
public static void publishBlockChannel(long durationNanos, MsgCommandChannel<?> gcc) {
if (null != gcc.goPipe) {
PipeWriter.presumeWriteFragment(gcc.goPipe, TrafficOrderSchema.MSG_BLOCKCHANNEL_22);
PipeWriter.writeLong(gcc.goPipe,TrafficOrderSchema.MSG_BLOCKCHANNEL_22_FIELD_DURATIONNANOS_13, durationNanos);
PipeWriter.publishWrites(gcc.goPipe);
} else {
logger.info("Unable to use block channel for ns without an additonal feature use or USE_DELAY can be added.");
}
}
示例2: publishBlockChannelUntil
import com.ociweb.pronghorn.pipe.PipeWriter; //导入方法依赖的package包/类
public static void publishBlockChannelUntil(long timeMS, MsgCommandChannel<?> gcc) {
if (null != gcc.goPipe) {
PipeWriter.presumeWriteFragment(gcc.goPipe, TrafficOrderSchema.MSG_BLOCKCHANNELUNTIL_23);
PipeWriter.writeLong(gcc.goPipe,TrafficOrderSchema.MSG_BLOCKCHANNELUNTIL_23_FIELD_TIMEMS_14, timeMS);
PipeWriter.publishWrites(gcc.goPipe);
} else {
logger.info("Unable to use block channel for ns without an additonal feature or USE_DELAY can be added.");
}
}
示例3: publish
import com.ociweb.pronghorn.pipe.PipeWriter; //导入方法依赖的package包/类
private void publish(Pipe<ValveSchema> output) {
PipeWriter.presumeWriteFragment(output, msgIdx);
PipeWriter.writeInt(output, stationFieldId, currentStationId);
PipeWriter.writeLong(output, timestampFieldId, currentTimeStamp);
//System.out.format("Wrote %d, %d, %d\n", msgIdx, currentStationId, currentTimeStamp);
writeValue(output);
PipeWriter.publishWrites(output);
}
示例4: publishValveSerialNumber
import com.ociweb.pronghorn.pipe.PipeWriter; //导入方法依赖的package包/类
public static void publishValveSerialNumber(Pipe<ValveSchema> output, int fieldStation, long fieldTimestamp, int fieldValveSerialNumber) {
PipeWriter.presumeWriteFragment(output, MSG_VALVESERIALNUMBER_311);
PipeWriter.writeInt(output,MSG_VALVESERIALNUMBER_311_FIELD_STATION_1, fieldStation);
PipeWriter.writeLong(output,MSG_VALVESERIALNUMBER_311_FIELD_TIMESTAMP_2, fieldTimestamp);
PipeWriter.writeInt(output,MSG_VALVESERIALNUMBER_311_FIELD_VALVESERIALNUMBER_11, fieldValveSerialNumber);
PipeWriter.publishWrites(output);
}
示例5: publishLifeCycleCount
import com.ociweb.pronghorn.pipe.PipeWriter; //导入方法依赖的package包/类
public static void publishLifeCycleCount(Pipe<ValveSchema> output, int fieldStation, long fieldTimestamp, int fieldLifeCycleCount) {
PipeWriter.presumeWriteFragment(output, MSG_LIFECYCLECOUNT_312);
PipeWriter.writeInt(output,MSG_LIFECYCLECOUNT_312_FIELD_STATION_1, fieldStation);
PipeWriter.writeLong(output,MSG_LIFECYCLECOUNT_312_FIELD_TIMESTAMP_2, fieldTimestamp);
PipeWriter.writeInt(output,MSG_LIFECYCLECOUNT_312_FIELD_LIFECYCLECOUNT_12, fieldLifeCycleCount);
PipeWriter.publishWrites(output);
}
示例6: publishSupplyPressure
import com.ociweb.pronghorn.pipe.PipeWriter; //导入方法依赖的package包/类
public static void publishSupplyPressure(Pipe<ValveSchema> output, int fieldStation, long fieldTimestamp, int fieldSupplyPressure) {
PipeWriter.presumeWriteFragment(output, MSG_SUPPLYPRESSURE_313);
PipeWriter.writeInt(output,MSG_SUPPLYPRESSURE_313_FIELD_STATION_1, fieldStation);
PipeWriter.writeLong(output,MSG_SUPPLYPRESSURE_313_FIELD_TIMESTAMP_2, fieldTimestamp);
PipeWriter.writeInt(output,MSG_SUPPLYPRESSURE_313_FIELD_SUPPLYPRESSURE_13, fieldSupplyPressure);
PipeWriter.publishWrites(output);
}
示例7: publishDurationOfLast1_4Signal
import com.ociweb.pronghorn.pipe.PipeWriter; //导入方法依赖的package包/类
public static void publishDurationOfLast1_4Signal(Pipe<ValveSchema> output, int fieldStation, long fieldTimestamp, int fieldDurationOfLast1_4Signal) {
PipeWriter.presumeWriteFragment(output, MSG_DURATIONOFLAST1_4SIGNAL_314);
PipeWriter.writeInt(output,MSG_DURATIONOFLAST1_4SIGNAL_314_FIELD_STATION_1, fieldStation);
PipeWriter.writeLong(output,MSG_DURATIONOFLAST1_4SIGNAL_314_FIELD_TIMESTAMP_2, fieldTimestamp);
PipeWriter.writeInt(output,MSG_DURATIONOFLAST1_4SIGNAL_314_FIELD_DURATIONOFLAST1_4SIGNAL_14, fieldDurationOfLast1_4Signal);
PipeWriter.publishWrites(output);
}
示例8: publishDurationOfLast1_2Signal
import com.ociweb.pronghorn.pipe.PipeWriter; //导入方法依赖的package包/类
public static void publishDurationOfLast1_2Signal(Pipe<ValveSchema> output, int fieldStation, long fieldTimestamp, int fieldDurationOfLast1_2Signal) {
PipeWriter.presumeWriteFragment(output, MSG_DURATIONOFLAST1_2SIGNAL_315);
PipeWriter.writeInt(output,MSG_DURATIONOFLAST1_2SIGNAL_315_FIELD_STATION_1, fieldStation);
PipeWriter.writeLong(output,MSG_DURATIONOFLAST1_2SIGNAL_315_FIELD_TIMESTAMP_2, fieldTimestamp);
PipeWriter.writeInt(output,MSG_DURATIONOFLAST1_2SIGNAL_315_FIELD_DURATIONOFLAST1_2SIGNAL_15, fieldDurationOfLast1_2Signal);
PipeWriter.publishWrites(output);
}
示例9: publishEqualizationAveragePressure
import com.ociweb.pronghorn.pipe.PipeWriter; //导入方法依赖的package包/类
public static void publishEqualizationAveragePressure(Pipe<ValveSchema> output, int fieldStation, long fieldTimestamp, int fieldEqualizationAveragePressure) {
PipeWriter.presumeWriteFragment(output, MSG_EQUALIZATIONAVERAGEPRESSURE_316);
PipeWriter.writeInt(output,MSG_EQUALIZATIONAVERAGEPRESSURE_316_FIELD_STATION_1, fieldStation);
PipeWriter.writeLong(output,MSG_EQUALIZATIONAVERAGEPRESSURE_316_FIELD_TIMESTAMP_2, fieldTimestamp);
PipeWriter.writeInt(output,MSG_EQUALIZATIONAVERAGEPRESSURE_316_FIELD_EQUALIZATIONAVERAGEPRESSURE_16, fieldEqualizationAveragePressure);
PipeWriter.publishWrites(output);
}
示例10: publishEqualizationPressureRate
import com.ociweb.pronghorn.pipe.PipeWriter; //导入方法依赖的package包/类
public static void publishEqualizationPressureRate(Pipe<ValveSchema> output, int fieldStation, long fieldTimestamp, int fieldEqualizationPressureRate) {
PipeWriter.presumeWriteFragment(output, MSG_EQUALIZATIONPRESSURERATE_317);
PipeWriter.writeInt(output,MSG_EQUALIZATIONPRESSURERATE_317_FIELD_STATION_1, fieldStation);
PipeWriter.writeLong(output,MSG_EQUALIZATIONPRESSURERATE_317_FIELD_TIMESTAMP_2, fieldTimestamp);
PipeWriter.writeInt(output,MSG_EQUALIZATIONPRESSURERATE_317_FIELD_EQUALIZATIONPRESSURERATE_17, fieldEqualizationPressureRate);
PipeWriter.publishWrites(output);
}
示例11: publishResidualOfDynamicAnalysis
import com.ociweb.pronghorn.pipe.PipeWriter; //导入方法依赖的package包/类
public static void publishResidualOfDynamicAnalysis(Pipe<ValveSchema> output, int fieldStation, long fieldTimestamp, int fieldResidualOfDynamicAnalysis) {
PipeWriter.presumeWriteFragment(output, MSG_RESIDUALOFDYNAMICANALYSIS_318);
PipeWriter.writeInt(output,MSG_RESIDUALOFDYNAMICANALYSIS_318_FIELD_STATION_1, fieldStation);
PipeWriter.writeLong(output,MSG_RESIDUALOFDYNAMICANALYSIS_318_FIELD_TIMESTAMP_2, fieldTimestamp);
PipeWriter.writeInt(output,MSG_RESIDUALOFDYNAMICANALYSIS_318_FIELD_RESIDUALOFDYNAMICANALYSIS_18, fieldResidualOfDynamicAnalysis);
PipeWriter.publishWrites(output);
}
示例12: publishPartNumber
import com.ociweb.pronghorn.pipe.PipeWriter; //导入方法依赖的package包/类
public static void publishPartNumber(Pipe<ValveSchema> output, int fieldStation, long fieldTimestamp, CharSequence fieldPartNumber) {
PipeWriter.presumeWriteFragment(output, MSG_PARTNUMBER_330);
PipeWriter.writeInt(output,MSG_PARTNUMBER_330_FIELD_STATION_1, fieldStation);
PipeWriter.writeLong(output,MSG_PARTNUMBER_330_FIELD_TIMESTAMP_2, fieldTimestamp);
PipeWriter.writeUTF8(output,MSG_PARTNUMBER_330_FIELD_PARTNUMBER_30, fieldPartNumber);
PipeWriter.publishWrites(output);
}
示例13: publishValveFault
import com.ociweb.pronghorn.pipe.PipeWriter; //导入方法依赖的package包/类
public static void publishValveFault(Pipe<ValveSchema> output, int fieldStation, long fieldTimestamp, int fieldValveFault) {
PipeWriter.presumeWriteFragment(output, MSG_VALVEFAULT_340);
PipeWriter.writeInt(output,MSG_VALVEFAULT_340_FIELD_STATION_1, fieldStation);
PipeWriter.writeLong(output,MSG_VALVEFAULT_340_FIELD_TIMESTAMP_2, fieldTimestamp);
PipeWriter.writeInt(output,MSG_VALVEFAULT_340_FIELD_VALVEFAULT_40, fieldValveFault);
PipeWriter.publishWrites(output);
}
示例14: publishPressureFault
import com.ociweb.pronghorn.pipe.PipeWriter; //导入方法依赖的package包/类
public static void publishPressureFault(Pipe<ValveSchema> output, int fieldStation, long fieldTimestamp, CharSequence fieldPressureFault) {
PipeWriter.presumeWriteFragment(output, MSG_PRESSUREFAULT_350);
PipeWriter.writeInt(output,MSG_PRESSUREFAULT_350_FIELD_STATION_1, fieldStation);
PipeWriter.writeLong(output,MSG_PRESSUREFAULT_350_FIELD_TIMESTAMP_2, fieldTimestamp);
PipeWriter.writeUTF8(output,MSG_PRESSUREFAULT_350_FIELD_PRESSUREFAULT_50, fieldPressureFault);
PipeWriter.publishWrites(output);
}
示例15: publishLeakFault
import com.ociweb.pronghorn.pipe.PipeWriter; //导入方法依赖的package包/类
public static void publishLeakFault(Pipe<ValveSchema> output, int fieldStation, long fieldTimestamp, int fieldLeakFault) {
PipeWriter.presumeWriteFragment(output, MSG_LEAKFAULT_360);
PipeWriter.writeInt(output,MSG_LEAKFAULT_360_FIELD_STATION_1, fieldStation);
PipeWriter.writeLong(output,MSG_LEAKFAULT_360_FIELD_TIMESTAMP_2, fieldTimestamp);
PipeWriter.writeInt(output,MSG_LEAKFAULT_360_FIELD_LEAKFAULT_60, fieldLeakFault);
PipeWriter.publishWrites(output);
}