public static void Save() { SerializableHelper <HardwareOrgHelper> helper = new SerializableHelper <HardwareOrgHelper>(HardwareOrgHelper.Instance); helper.JsonSerialize(Variable.sPath_Configure + "//机械校验.json" ); }
private void SaveTotal(CountClassification count, string path, int hour) { SerializableHelper <CountClassification> helper = new SerializableHelper <CountClassification>(count); helper.JsonSerialize($"{path}//{hour}.json"); }
public static void Save() { SerializableHelper <PressSensorHelper> helper = new SerializableHelper <PressSensorHelper>(PressSensorHelper.Instance); helper.JsonSerialize(Variable.sPath_Configure + "PressSensor.json"); }
public static void Save() { SerializableHelper <List <ServiceItem> > helper = new SerializableHelper <List <ServiceItem> >(SerivceMonitorHelper.Instance.MonitorList); helper.JsonSerialize(Variable.sPath_Configure + "耗材管控.cfg"); }
public static void Save(MylarLabel label) { SerializableHelper <MylarLabel> helper = new SerializableHelper <MylarLabel>(label); helper.JsonSerialize(PathDefine.sPathLabel + $"{label.LabelName}.json"); }
public static void Save() { SerializableHelper <AxisDefine> helper = new SerializableHelper <AxisDefine>(AxisDefine.Instance); helper.JsonSerialize(PathDefine.sPathAxis + "axis.json"); }
public static void Save() { SerializableHelper <Dictionary <uint, NozzleOffsetShceme> > helper = new SerializableHelper <Dictionary <uint, NozzleOffsetShceme> >(Items); helper.JsonSerialize("./Configure/NozzleOffsetItem.json"); }
public static void Save(string path, SuckConfig config) { SerializableHelper <SuckConfig> helper = new SerializableHelper <SuckConfig>(config); helper.JsonSerialize(path); }
public static void Save() { SerializableHelper <IODefine> helper = new SerializableHelper <IODefine>(IODefine.Instance); helper.JsonSerialize(PathDefine.sPathIO + "IO定义.json"); }
public static void Save() { SerializableHelper <HardwareOrgHelper> helper = new SerializableHelper <HardwareOrgHelper>(HardwareOrgHelper.Instance); helper.JsonSerialize(PathDefine.sPathHardware + "机械校验.json"); }
public static void Save() { SerializableHelper <FeederDefine> helper = new SerializableHelper <FeederDefine>(FeederDefine.Instance); helper.JsonSerialize(PathDefine.sPathConfigure + "Feeder.json"); }
/// <summary> /// 保存Feeder信息,并自动更新到Feeder 上 /// </summary> /// <param name="feederConfig"></param> public void SaveFeederConfig(FeederConfig feederConfig) { SerializableHelper <FeederConfig> helper = new SerializableHelper <FeederConfig>(feederConfig); helper.JsonSerialize(PathDefine.sPathFeeder + $"{CommonHelper.GetEnumDescription(typeof(Module),feederConfig.Module)}//{feederConfig.FeederName}.json"); }
public static void Save() { SerializableHelper <PressHelper> helper = new SerializableHelper <PressHelper>(PressHelper.Instance); helper.JsonSerialize(PathDefine.sPressConfigure + "PressConfig.json"); }
public static void Save() { SerializableHelper <SystemConfig> helper = new SerializableHelper <SystemConfig>(SystemConfig.Instance); helper.JsonSerialize(PathDefine.sPathConfigure + "System.json"); }
public static void Save() { SerializableHelper <CameraDefine> helper = new SerializableHelper <CameraDefine>(CameraDefine.Instance); helper.JsonSerialize(PathDefine.sPathCamera + "Camera.json"); }